<template>
	<h1>Child....</h1>
	<!-- <p>{{ modelValue }}</p>
	<button @click="$emit('update:modelValue', modelValue + 2)">update</button> -->
	<p>{{ num }}</p>
	<button @click="$emit('update:num', num + 2)">update</button>
</template>

<script>
export default {
	name: "Child",
	props: {
		// modelValue: Number,
		num: Number,
	},
};
</script>

<style></style>
